//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    motto: '开始体验',
  },
  //事件处理函数
  bindViewTap: function() {
    wx.redirectTo({
      url: '/pages/callList/callList',
    });
  },
  onLoad: function () {
    // 移除验证信息
    wx.removeStorage({
      key: 'verifyInfo',
      success: function(res) {},
    })

    wx.removeStorage({
      key: 'curUserAudio',
      success: function (res) { },
    })
    wx.removeStorage({
      key: 'callUser',
      success: function (res) { },
    })
    wx.removeStorage({
      key: 'userid',
      success: function (res) { },
    })
  }
})
